package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * InnoDB free: 11264 kB
 * </p>
 *
 * @author stylefeng
 * @since 2017-06-29
 */
@TableName("cpcia_news")
public class CpciaNews extends Model<CpciaNews> {

    private static final long serialVersionUID = 1L;
    
	@TableId(value="id", type= IdType.UUID)
	private String id;
	private String title;
	private String content;
	private Date newsdate;
	private Date createdate;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getNewsdate() {
		return newsdate;
	}

	public void setNewsdate(Date newsdate) {
		this.newsdate = newsdate;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
